<script setup>
defineProps({
  title: {
    require: true,
    type: String
  }
})
</script>
<template>
  <el-card class="page-container">
    <template #header> {{ title }} </template>
    <!-- 主体 -->
    <slot></slot>
  </el-card>
</template>
<style lang="scss" scoped></style>
